package com.ja.openchat.ui.me;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.ja.openchat.BR;
import com.ja.openchat.R;
import com.ja.openchat.databinding.FragmentSetPwdSuccessBinding;
import com.ja.openchat.viewmodels.SetPwdSuccessViewModel;

import me.goldze.mvvmhabit.base.BaseFragment;

//设置密码成功
public class SetPwdSuccessFragment extends BaseFragment<FragmentSetPwdSuccessBinding, SetPwdSuccessViewModel> {

    private Bundle arguments;

    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_set_pwd_success;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initParam() {
        arguments = getArguments();
    }

    @Override
    public void initData() {
        super.initData();
        viewModel.setData(arguments);
    }
}